package com.panda.client;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author 乐于吕
 * * @date 2024/10/17
 */
@FeignClient(value = "HYSTRIXSERVICE",fallback = HystrixClientFallback.class)
public interface HystrixClient {

    @GetMapping("/hystrix/m1")
    String method1(@RequestParam("id") Integer id);

}
